package com.app.web.sys.share;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @program: ym-app->ShareService
 * @Description:
 */
@Service
public class ShareService {
    @Autowired
    private PosterDao posterDao;

    /**
     * 获取所有分享海报
     * @return
     */
    public List<Map<String,Object>> share() {
        return posterDao.list();
    }
}
